<?php

namespace App\Enums\Common;

class DeviceEnum
{
    const  SHOES_STARTUP_BIG = 1;
    const  SHOES_STARTUP_STANDARD = 2;
    const  SHOES_STARTUP_FAST = 3;
    const  SHOES_STARTUP_SPIN = 4;
    const  SHOES_STARTUP_CLEAN = 5;


    const  CLOTHES_STARTUP_STRENGTHEN = 1;
    const  CLOTHES_STARTUP_STANDARD = 2;
    const  CLOTHES_STARTUP_FAST = 3;
    const  CLOTHES_STARTUP_SPIN = 4;
    const  CLOTHES_STARTUP_BIG = 5;
    const  CLOTHES_STARTUP_CLEAN = 6;
    const  CLOTHES_STARTUP_STANDARD_FORTY = 7;
    const  CLOTHES_STARTUP_STANDARD_SIXTY = 8;
    const  CLOTHES_STARTUP_FAST_FORTY = 9;
    const  CLOTHES_STARTUP_FAST_SIXTY = 10;
    const  CLOTHES_STARTUP_BIG_FORTY = 11;
    const  CLOTHES_STARTUP_BIG_SIXTY = 12;
    const  CLOTHES_ENERGY_EFFICIENCY = 13;
    const  CLOTHES_HIGH_TEMPERATURE = 14;

    const TIME_ONE = 1;
    const TIME_TWO = 2;
    const TIME_THREE = 3;
    const TIME_FOUR = 4;


    public static array $startUp = [
        self::SHOES_STARTUP_BIG => "大物洗",
        self::SHOES_STARTUP_STANDARD => "标准洗",
        self::SHOES_STARTUP_FAST => "快速洗",
        self::SHOES_STARTUP_SPIN => "单脱水",
//        self::SHOES_STARTUP_CLEAN => "桶自洁",
    ];
    public static array $clothes_startUp = [
        self::CLOTHES_STARTUP_STRENGTHEN => '强力洗',
        self::CLOTHES_STARTUP_STANDARD => '标准洗',
        self::CLOTHES_STARTUP_FAST => '快速洗',
        self::CLOTHES_STARTUP_SPIN => '单脱水',
        self::CLOTHES_STARTUP_BIG => '大件洗',
        self::CLOTHES_STARTUP_CLEAN => '桶清洁',
        self::CLOTHES_STARTUP_STANDARD_FORTY => '标准洗40℃',
        self::CLOTHES_STARTUP_STANDARD_SIXTY => '标准洗60℃',
        self::CLOTHES_STARTUP_FAST_FORTY => '快速洗40℃',
        self::CLOTHES_STARTUP_FAST_SIXTY => '快速洗60℃',
        self::CLOTHES_STARTUP_BIG_FORTY => '大件洗40℃',
        self::CLOTHES_STARTUP_BIG_SIXTY => '大件洗60℃',
        self::CLOTHES_ENERGY_EFFICIENCY => '能效',
        self::CLOTHES_HIGH_TEMPERATURE => '高温桶清洁'
    ];


    public static array $timeSet = [
        self::TIME_ONE => "大物洗时间",
        self::TIME_TWO => "标准洗时间",
        self::TIME_THREE => "快速洗",
        self::TIME_FOUR => "单脱水"
    ];


    public static array $command = [
        'stop' => '停止',
        'fault' => '查询设备故',
        'workTime' => '设备运行时间',
        'pause' => '设备暂停',
        'continue' => '设备继续',
        'controlTime' => '设置时间参数信息',
        'getControlTime' => '获取设置的时间信息',
        'getSpecial' => '查询特殊功能参数',
        'clear' => '设置特殊功能',
    ];

}
